![]() |
PATH![]() |
![]() ![]() |
Inserts a menu item into a menu.
pascal OSStatus InsertMenuItemText (
MenuHandle menu,
ConstStr255Param inString,
SInt16 afterItem);
The InsertMenuItemText function inserts an enabled menu item containing the specified string into a menu, without evaluating the string for metacharacters, as the pre-Mac OS 8.5 Menu Manager function InsertMenuItem does. You may wish to use InsertMenuItemText if you have a need to present non-alphanumeric characters in a menu item.